package com.xq.jltx.kotlinlearn09

import kotlinx.coroutines.GlobalScope
import kotlinx.coroutines.launch

/**
 * @author jltxseo
 *         Created by junlintianxia on 2019/11/29.
 */
suspend fun main(args: Array<String>) {
    println("1"+Thread.currentThread())
    val job = GlobalScope.launch {
        println("2"+Thread.currentThread())
    }
    println("3"+Thread.currentThread())
    job.join()
    println("4"+Thread.currentThread())

}